package com.zhrj.exam.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhrj.exam.entity.ZhrjAlarmInfo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 事件表 服务类
 * </p>
 *
 * @author zhrj
 * @since 2023-03-14
 */
public interface IZhrjAlarmInfoService extends IService<ZhrjAlarmInfo> {

    void importFile(MultipartFile file) throws IOException;

    Map statistic();

    List<Map> monthDateCount(Date date);

    List<ZhrjAlarmInfo> export(String type, Integer curr, Integer size);
}
